home *** CD-ROM | disk | FTP | other *** search
- /*
- Library for ftpd clients.(libftp)
- Copyright by Oleg Orel
- All rights reserved.
-
- This library is desined for free, non-commercial software creation.
- It is changeable and can be improved. The author would greatly appreciate
- any advises, new components and patches of the existing programs.
- Commercial usage is also possible with participation of it's author.
-
-
-
- */
-
- #include "FtpLibrary.h"
-
- STATUS FtpSendMessage(FTP *con,char * Message )
- {
- if ( write ( con -> sock , Message , strlen (Message)) == -1 )
- return QUIT;
- if ( write ( con -> sock , "\015\012",2) == -1 )
- return QUIT;
- if ( con -> debug != NULL )
- (*con->debug)(con,0,Message);
- return 1;
- }
-